/* 头部样式 */
header{
    width: 100%;
    height: 66px;
    /*开启弹性布局 */
    display: flex;
    /*侧轴居中*/
    align-items:center ;
    /* 两端对齐 */
    justify-content: space-between;
    padding: 0px 30px;
    position: absolute;
    top:0 ;
    left: 0;
    z-index: 5;
}

/* 头部中间样式 */
header nav a{
    color: white;
    display: inline-block;
    height: 66px;
    line-height: 66px;
    font-size: 14px;
}
header nav .header-api{
    margin: 0px 20px;
}
header nav a.on{
    color: skyblue;
    border-bottom: 2px solid;
    font-size: 16px;
}

/*头部右侧样式 */
header .header-r a{
    display: inline-block;
    width: 58px;
    height: 26px;
    border: 1px solid;
    text-align: center;
    line-height: 26px;
    font-size: 12px;
    border-radius: 12px;
    color: white;
}
header .header-r a:nth-child(2){
    background-color: orange;
}
header .header-r a:hover{
    /* 透明度 */
    opacity: 0.5;
}

/* 轮播图样式 */
.swiper {
    width: 100%;
    height: 680px;
}  
.swiper .swiper-wrapper .slide1{
    background: url(../images/banner1.png) no-repeat center top;
}
.swiper .swiper-wrapper .slide2{
    background: url(../images/banner2.png) no-repeat center top;
}
.swiper .swiper-wrapper .slide3{
    background: url(../images/banner3.png) no-repeat center top;
}